package com.zy.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @author ZY
 * @describe
 * @date 2020/8/22
 */

@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@Builder
@ApiModel(value = "BaseResponse",description = "统一返回信息")
public class BaseResponse<T> {

    @ApiModelProperty(value = "编码")
    private Integer code;

    private T data;

    @ApiModelProperty(value = "信息")
    private String msg;



}
